S. van Buuren
Worm plot to diagnose fit in quantile regression

Abstract

The worm plot is a series of detrended Q-Q plots, split by covariate levels. The worm plot is a diagnostic tool for visualizing how well a statistical model fits the data, for finding locations at which the fit can be improved, and for comparing the fit of different models. This paper shows how the worm plot can be used in conjunction with quantile regression. No parametric distributional assumptions are needed to create the worm plot. We fitted both an LMS and a quantile regression model on Dutch height data. The worm plot shows that the quantile regression model is superior to the LMS model in terms of fit. At the same time, it also contains a warning that the particular quantile model used may actually overfit the data. The resulting quantile curves are wiggly at the extremes, and appear less well suited for drawing growth diagrams. The paper concludes that the worm plot is a natural companion to quantile regression, and form complementing diagnostic tools for fitting reference curves. 
